const state = {
	token: '',
}
const getters = {}
const actions = {
	save_token_sync: function () {
		// console.log('执行 save_token_sync')
	},
}

const mutations = {
	SAVE_TOKEN: function (state, payload) {
		state.token = payload.token
	},
}

export default {
	namespaced: true,
	state,
	actions,
	getters,
	mutations,
}
